<!doctype html>
<html>
<head>
    <meta charset=utf-8>
    <title></title>
    <meta name="robots" content="noindex,nofollow">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?=Web_Path?>packs/layui/css/layui.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/font.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/style.css">
    <script src="<?=Web_Path?>packs/js/jquery.min.js"></script>
    <script src="<?=Web_Path?>packs/layui/layui.js"></script>
    <script src="<?=Web_Path?>packs/admin/js/cscms.js"></script>
</head>
<body id="index_setting">
    <span class="layui-breadcrumb">
        <a ><cite><i class="fa fa-map-marker"></i><?=L('tpl_ce_01')?></cite></a>
        <a href="<?=site_url('opt/main')?>"><?=L('tpl_ce_02')?></a>
        <a href="<?=site_url('collect/add')?>"><?=L('tpl_ce_03')?></a>
    </span>
    <form class="layui-form layui-form-pane" action="<?=$savelink?>&page=3" method="post">
        <fieldset class="layui-elem-field" style="margin-top: 15px;">
            <legend><?=L('tpl_ce_29')?></legend>
            <div class="layui-field-box">
                <div class="layui-form-item">
                    <label class="layui-form-label"><?=L('tpl_ce_30')?></label>
                    <div class="layui-input-inline" onclick="cscms.show_hide('html','htmlid')">
                        <input type="radio" name="htmlid" title="<?=L('tpl_ce_31')?>" value="0" checked >
                        <input type="radio" name="htmlid" title="<?=L('tpl_ce_32')?>" value="1">
                    </div>
                </div>
                <div class="layui-form-item layui-form-text html html1" style="display: none;">
                    <label class="layui-form-label"><?=L('tpl_ce_33')?></label>
                    <div class="layui-input-block">
                      <textarea name="html" style="min-height: 300px;" class="layui-textarea"><?=str_replace('<form','&lt;form',str_replace('</textarea>','&lt;/textarea&gt;',$html))?></textarea>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label"><?=L('tpl_ce_34')?></label>
                    <div class="layui-input-block">
                        <textarea name="listks" class="layui-textarea"><?=$listks?></textarea>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label"><?=L('tpl_ce_35')?></label>
                    <div class="layui-input-block">
                        <textarea name="listjs" class="layui-textarea"><?=$listjs?></textarea>
                    </div>
                </div>
                <input type="hidden" name="cjurl" value="<?=$cjurl?>">
                <input type="hidden" name="code" value="<?=$code?>">
                <div class="layui-form-item">
                    <div class="layui-input-block noborder">
                        <button style="margin-left: 20%;" class="layui-btn" lay-submit lay-filter="setting"><?=L('tpl_ce_26')?></button>
                        <button type="reset" class="layui-btn layui-btn-primary"><?=L('tpl_ce_27')?></button>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>
    <script type="text/javascript">
        cscms.init();
    </script>
</body>
</html>